package com.eorchis.module.remind.dao;

import java.util.List;
import com.eorchis.core.basedao.dao.IDaoSupport;
import com.eorchis.module.basedata.domain.BaseData;
import com.eorchis.module.remind.domain.RemindUser;
import com.eorchis.module.remind.ui.commond.RemindQueryCommond;
import com.eorchis.module.remind.ui.commond.RemindValidCommond;
import com.eorchis.module.trainingclass.querybean.TrainingClassQueryBean;

/**
 * Title: IRemindDao<br>
 * Description: 提醒表数据接口<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author RongSL
 * @createDate 2016-05-06
 * @version $Revision$
 */
public interface IRemindDao extends IDaoSupport{

	/**
	 *查询管理员 
	 *@Date 2016-05-13
	 *@author RongSL
	 * */
	public List<RemindUser> findAdministrator(RemindQueryCommond query)throws Exception;
	
	/**
	 * 查询培训班
	 * @Date 2016-05-13
	 * @author RongSL
	 * */
	public List<TrainingClassQueryBean> findNClass(RemindQueryCommond commond)throws Exception;
	
	/**
	 * 查询培训班中的报名情况
	 * @Date 2016-05-13
	 * @author RongSL
	 * */
	public List<TrainingClassQueryBean> findSignClass(RemindQueryCommond commond)throws Exception;
	
	/**
	 * 查询提醒内容
	 * @Date 2016-06-08
	 * @author RongSL
	 * */
	public String findRemindDate(String Code)throws Exception;
	
	/**
	 * 查询提醒列表
	 * @Date 2016-06-12
	 * @author RongSL
	 * */
	public List<RemindValidCommond> findRemindList(RemindQueryCommond queryCommond)throws Exception;
	
	/**
	 * 删除提醒
	 * @Date 2016-06-13
	 * @author RongSL
	 * */
	public void deleteRemind(RemindQueryCommond commond) throws Exception;
	
	/**
	 * 提醒类型查询
	 * @Date 2016-06-13
	 * @author RongSL
	 * */
	public BaseData findBaseDate(RemindQueryCommond commond)throws Exception;
	
	/**
	 * 更改提醒状态
	 * @Date 2016-06-14
	 * @author RongSL
	 * */
	public void updateRemindState(RemindValidCommond valid) throws Exception;

	/**
	 * 提醒类型查询
	 * @Date 2016-06-13
	 * @author RongSL
	 * */
	public List<BaseData> findBaseDataList(RemindQueryCommond commond)throws Exception;
	
	/**
	 * 更改提醒类型状态
	 * @Date 2016-06-14
	 * @author RongSL
	 * */
	public void updateRemindTypeState(RemindQueryCommond commond) throws Exception;
	/**
	 * 更改消息发送的状态
	 * @Date 2016-06-14
	 * @author NingSS
	 * */
	public void updateRemindTypeS(RemindQueryCommond commond) throws Exception;
	
	/**
	 * 查询普通学员
	 * @author RongSL
	 * 2018年1月3日
	 * */
	public List<RemindUser> findUserList(RemindQueryCommond query)throws Exception;
}
